#import "NightfallMergeView.h"


@implementation NightfallMergeView



- (void)setThrive:(NightfallMergeModel *)thrive {
	_thrive = thrive;

	//: 配置cell的UI

	[self.whisperOpusBreezeImageView sd_setImageWithURL:[NSURL URLWithString:thrive.whimsyCactusVivid] placeholderImage:nil];

}
- (UITextView *)graspTextView {
	if (!_graspTextView) {
	
        _graspTextView = [UITextView new];
	}
	return _graspTextView;
}

- (UIImageView *)whisperOpusBreezeImageView {
	if (!_whisperOpusBreezeImageView) {
	
        _whisperOpusBreezeImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
        _whisperOpusBreezeImageView.contentMode = UIViewContentModeScaleAspectFill;
        _whisperOpusBreezeImageView.clipsToBounds = YES;
        _whisperOpusBreezeImageView.layer.cornerRadius = 17;
        _whisperOpusBreezeImageView.layer.masksToBounds = YES;
        UIImage *quest = [UIImage imageNamed:@"images/image_3.png"];
        if (quest) {
	        _whisperOpusBreezeImageView.image = quest;
        }
	}
	return _whisperOpusBreezeImageView;
}

- (void)brillianceXenonLayout {

    //: 描述_0
    UIView *laughOasisGlimmer = [UIView new];
    laughOasisGlimmer.frame = CGRectMake(42, 7, 184, 100);
    self.apexView = laughOasisGlimmer;
    [self addSubview:laughOasisGlimmer];


    //: 描述_1
    self.delightXenialView = [UIView new];
    self.delightXenialView.size = CGSizeMake(97, 153);
    self.delightXenialView.left = 31;
    self.delightXenialView.top = 44;
    [self addSubview:self.delightXenialView];

	//: 描述_2
	[self addSubview:self.graspTextView];
	[self.graspTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(178);
		make.height.mas_equalTo(71);
		make.top.equalTo(@(27));
	}];

	//: 描述_3
	[self addSubview:self.whisperOpusBreezeImageView];
	[self.whisperOpusBreezeImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(75);
		make.height.mas_equalTo(49);
		make.top.equalTo(@(26));
	}];


    //: 描述_4
    UITextField *whistleHoverBalance = [UITextField new];
    whistleHoverBalance.size = CGSizeMake(46, 64);
    whistleHoverBalance.left = 40;
    whistleHoverBalance.top = 4;
    self.grumpyJeopardyTextField = whistleHoverBalance;
    [self addSubview:whistleHoverBalance];
}


@end